#ifndef ADDPLACEWID_H
#define ADDPLACEWID_H

#include <QWidget>
#include <QPushButton>
#include <QLabel>
#include <QLineEdit>
#include <QTextEdit>

class AddPlaceWid : public QWidget
{
    Q_OBJECT
public:
    explicit AddPlaceWid(QWidget *parent = 0);

signals:
    void dataSaved();
public slots:
    void saveData();
private:
    QLabel *xLab;
    QLabel *yLab;
    QLabel *nameLab;
    QLabel *descLab;
    QLineEdit *editX;
    QLineEdit *editY;
    QLineEdit *nameEdit;
    QTextEdit *descEdit;
    QPushButton *confirmBtn;
};

#endif // ADDPLACEWID_H
